class Newsletter < ActiveRecord::Base
  has_many :sent_emails
  has_many :newsletter_sections
  accepts_nested_attributes_for :newsletter_sections, :allow_destroy => true 
  
  validates_presence_of :subject, :content, :message => "can't be blank"
end
